package com.is.add.service;


import com.is.add.controller.vo.DataCountPageListVO;
import com.is.add.model.OrderBase;
import com.is.add.model.OrderRankingData;
import com.is.add.util.DimensionUtil.DataCount;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface OrderService {
    DataCount getAllOrder(String [] dimensions, Map<String,String> map);
    /**
     * 数据统计页选择项
     */
    DataCountPageListVO getSelectList();

    /**
     * 统计明细
     */
    List<OrderBase> getDataCountDetails(Map<String, String> map, int pageNum, int pageSize);
    /**
     * 周结算检测修复订单
     */
    Integer updateSettleFix(Map<String, Object> map);

    /**
     * 导出财务-业务综合表
     */
    void exportGeneralExcel(HttpServletResponse response, String startTime, String endTime);

    /**
     * 统计明细导出
     */
    void exportDataCountDetails(HttpServletRequest request, HttpServletResponse response, Map<String, String> map);

    /**
     * 实时订单数据
     * @param dimensions            维度
     * @param map                   条件
     * @return                      DataCount
     */
    DataCount getRecentlyOrder(String [] dimensions, Map<String,String> map);

    OrderRankingData sumRecentlyOrderBase(Map<String, String> map);
}
